﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace JAAF.Builders.Configuration
{
    [ConfigurationCollection(typeof(Argument), CollectionType = ConfigurationElementCollectionType.AddRemoveClearMap)]
    public class ArgumentsCollection: ConfigurationElementCollection
    {
        protected override ConfigurationElement CreateNewElement()
        {
            return new Argument();
        }

        protected override object GetElementKey(ConfigurationElement _oElement)
        {
            return ((Argument)_oElement).Name ;
        }
    }
}
